package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.DishDto;

public interface DishService extends IService<Dish> {
    //因为MP只支持单表，所以我们要自己写业务方法，完成多表操作
    void saveWithFlavor(DishDto dishDto);

    DishDto getByIdwithFlavor(long id);

    void updateWithFlavor(DishDto dishDto);
}
